package com.lyc.common.enums;

import lombok.Getter;

/**
 * Created by 廖师兄
 * 2017-05-26 23:30
 */
@Getter
public enum SearchType {
    name(1, "书名"),
    author(2, "作者名"),
    ;

    private Integer code;

    private String message;

    SearchType(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
